//TShape03.cpp
#include "TShape03.h"
#include <iostream>
using namespace std;

TShape::TShape(uint x, uint y){
    _x = x;
    _y = y;
    _RED = 0;
    _GREEN = 0;
    _BLUE = 0;
    cout<<"TShape constructed with color (";
    std::cout<<static_cast<uint>(_RED)   <<","
           <<static_cast<uint>(_GREEN)<<","
           <<static_cast<uint>(_BLUE) <<")"<<std::endl;
}
TShape::~TShape(){
     cout<<"TShape destructed"<<endl;
}
void TShape::Draw(){
    cout<<"This is TShape::Draw()"<<endl;
}
void TShape::getXY(uint& x, uint& y){
    x = _x;
    y = _y;
}
void TShape::setRGB(uchar R, uchar G, uchar B) {
    _RED = R;
    _GREEN = G;
    _BLUE = B;
}
